.nav{
    float:none;
    display:inline-block;
    vertical-align:middle;
    text-align:center;
    font:bold 0/50px Arial;
    margin:1px auto 0;
    border-radius: 8px;
}
.nav a{
	display: inline-block;
	-webkit-transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}
.nav a:hover{
	-webkit-transform:rotate(10deg);
	-moz-transform:rotate(10deg);
    -o-transform:rotate(10deg);
    -ms-transform:rotate(10deg);
    transform:rotate(10deg);
}
.black{
    background: #2c2c2c;
    box-shadow: 0 7px 0 #0b0b0b;
}
.nav li{
    position:relative;
    display:inline-block;
    padding:0 16px;
    font-size: 13px;
	text-shadow:1px 2px 4px rgba(0,0,0,.5);
    list-style: none outside none;
}

.nav li input{
    width: 80%;
}

.nav li::before,
.nav li::after{
    content:"";
    position:absolute;
    top:14px;
    height: 25px;
    width: 1px;
}
.nav li::after{
    right: 0;
	background: -moz-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,.2) 50%, rgba(255,255,255,0));
	background: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,.2) 50%, rgba(255,255,255,0));
	background: -o-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,.2) 50%, rgba(255,255,255,0));
    background: -ms-linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,.2) 50%, rgba(255,255,255,0));
    background: linear-gradient(top, rgba(255,255,255,0), rgba(255,255,255,.2) 50%, rgba(255,255,255,0));
}
.black li::before{
    left: 0;
	background: -moz-linear-gradient(top, #2c2c2c, #000 50%, #2c2c2c);
	background: -webkit-linear-gradient(top, #2c2c2c, #000 50%, #2c2c2c);
	background: -o-linear-gradient(top, #2c2c2c, #000 50%, #2c2c2c);
    background: -ms-linear-gradient(top, #2c2c2c, #000 50%, #2c2c2c);
    background: linear-gradient(top, #2c2c2c, #000 50%, #2c2c2c);
}
.nav li:first-child::before{
    background: none;
}
.nav li:last-child::after{
    background: none;
}

.nav a,
.nav a:hover{
    color:#fff;
    text-decoration: none;
 }
#userimg{
    width:40px;
    height:100%;
    position:relative;
    /* top:8px; */
    left:10px;
    border-radius:100%;
}